<%@ Page Language="C#" MasterPageFile="~/master/public-regular.master" AutoEventWireup="true"
    CodeFile="receipt.aspx.cs" Inherits="receipt" %>

<%@ Register Namespace="ECommerce.Library.Web" TagPrefix="ucc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderNestedHeader"
    runat="Server">
</asp:Content>
<asp:Content ID="cntContent" ContentPlaceHolderID="cphMiddleContent" runat="Server">
    <div class="regular-pages inline">
        <div class="shoping-steps">
            <div class="btn-regular btn-dim">
                Shopping Cart
            </div>
            <div class="btn-regular btn-dim">
                Login/Register
            </div>
            <div class="btn-regular btn-dim">
                Order Summary
            </div>
            <div class="btn-regular">
                Receipt
            </div>
        </div>
        <br class="clear" />
        <div class="grid_16 alpha clearfix">
            <ucc:ResponseMessage ID="uccResponseMessage" runat="server"></ucc:ResponseMessage>
        </div>
        <br class="clear" />
        <div class="grid_16">
            <div class="grid_8 alpha">
                <asp:Literal ID="litCompanyaddress" runat="server"></asp:Literal>
            </div>
            <div class="grid_8 omega">
                Order number: <asp:Label runat="server" ID="lblOrderNo"></asp:Label><br />
                Customer :# <asp:Label runat="server" ID="lblCustomerNumber"></asp:Label><br />
                Invoice Date:<asp:Label runat="server" ID="lblDate"></asp:Label>
            </div>
        </div>
        <br class="clear" />
        <hr />
       
        <div class="grid_16">           
            <div class="grid_8 alpha">
                <strong>Shipping</strong><br />
                <asp:Label runat="server" ID="lblShippingName"></asp:Label>
                <br />
                <asp:Label runat="server" ID="lblShippingAddress"></asp:Label>
                <br />
                <asp:Label runat="server" ID="lblShippingCityStateZip"></asp:Label>
                <br />
                <asp:Label runat="server" ID="lblShippingCountry"></asp:Label>
                <br />
                Phone: <asp:Label runat="server" ID="lblShippingPhone"></asp:Label>
            </div>
            <div class="grid_8 omega">
                Shipping Method: <asp:Label runat="server" ID="lblShipmentStatus"></asp:Label><br />
                Payment Method: <asp:Label runat="server" ID="lblPaymentMethod"></asp:Label><br />
                Order Status: <asp:Label runat="server" ID="lblPaymentStatus"></asp:Label>
            </div>
        </div>
        <br class="clear" />
        <div class=" grid_16 shopping-cart-grid">
            <asp:Repeater ID="rptProduct" runat="server" OnItemDataBound="rptProduct_ItemDataBound">
                <HeaderTemplate>
                    <div class="grid-header clearfix">
                        <div class="item">
                            Item
                        </div>
                        <div class="price">
                            Price</div>
                        <div class="quantity">
                            Quantity</div>
                        <div class="total" style="width: 20%!important;">
                            Total</div>
                    </div>
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:Panel runat="server" ID="pnlProduct">
                        <div class="grid-item clearfix">
                            <div class="item">
                                <div class="grid-product-image">
                                    <asp:Image runat="server" ID="imgItemImage" />
                                </div>
                                <%# Eval("ProductName")%>
                                <br />
                                <%# Eval("ProductCode")%>
                            </div>
                            <div class="price">
                                <%# ECommerce.Library.ECommerce.Utility.FormatPriceText(Convert.ToDecimal(Eval("UnitPrice")))%>
                            </div>
                            <div class="quantity">
                                <%# Eval("Quantity")%></div>
                            <div class="total" style="width: 20%!important;">
                                <%# ECommerce.Library.ECommerce.Utility.FormatPriceText(Convert.ToDecimal(Eval("TotalPrice")))%>
                            </div>
                        </div>
                    </asp:Panel>
                </ItemTemplate>
                
            </asp:Repeater>
            </div>
        <br class="clear" />
        <div class="grid_16">   
        
            <div class="grid_13 alpha" style="text-align:right;">
                Subtotal<br />
                Shipping & Handling<br />
                Total
            </div>
            <div class="grid_3 omega">
                <asp:Label runat="server" ID="lblSubTotal"></asp:Label>
                <br />
                <asp:Label runat="server" ID="lblShippingHandling"></asp:Label>
                <br />
                <asp:Label runat="server" ID="lblTotal"></asp:Label>
            </div>
        </div>
        <br class="clear" />
        <div class="grid_16">
        <div class="grid_16 alpha">
                <asp:Label ID="lblComments" runat="server" Visible="false"></asp:Label>
                </div>
                 <br class="clear" />
        </div>
        <br class="clear" />
    </div>
</asp:Content>
